﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200032F RID: 815
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CNEGKPBIFCA : IMessage<CNEGKPBIFCA>, IMessage, IEquatable<CNEGKPBIFCA>, IDeepCloneable<CNEGKPBIFCA>, IBufferMessage
	{
		// Token: 0x17000A8C RID: 2700
		// (get) Token: 0x0600247D RID: 9341 RVA: 0x00066FB1 File Offset: 0x000651B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CNEGKPBIFCA> Parser
		{
			get
			{
				return CNEGKPBIFCA._parser;
			}
		}

		// Token: 0x17000A8D RID: 2701
		// (get) Token: 0x0600247E RID: 9342 RVA: 0x00066FB8 File Offset: 0x000651B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CNEGKPBIFCAReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A8E RID: 2702
		// (get) Token: 0x0600247F RID: 9343 RVA: 0x00066FCA File Offset: 0x000651CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CNEGKPBIFCA.Descriptor;
			}
		}

		// Token: 0x06002480 RID: 9344 RVA: 0x00066FD1 File Offset: 0x000651D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNEGKPBIFCA()
		{
		}

		// Token: 0x06002481 RID: 9345 RVA: 0x00066FD9 File Offset: 0x000651D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNEGKPBIFCA(CNEGKPBIFCA other) : this()
		{
			this.hJHAIHFEFEN_ = other.hJHAIHFEFEN_;
			this.status_ = other.status_;
			this.oHLACBFPACN_ = other.oHLACBFPACN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002482 RID: 9346 RVA: 0x00067016 File Offset: 0x00065216
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNEGKPBIFCA Clone()
		{
			return new CNEGKPBIFCA(this);
		}

		// Token: 0x17000A8F RID: 2703
		// (get) Token: 0x06002483 RID: 9347 RVA: 0x0006701E File Offset: 0x0006521E
		// (set) Token: 0x06002484 RID: 9348 RVA: 0x00067026 File Offset: 0x00065226
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint HJHAIHFEFEN
		{
			get
			{
				return this.hJHAIHFEFEN_;
			}
			set
			{
				this.hJHAIHFEFEN_ = value;
			}
		}

		// Token: 0x17000A90 RID: 2704
		// (get) Token: 0x06002485 RID: 9349 RVA: 0x0006702F File Offset: 0x0006522F
		// (set) Token: 0x06002486 RID: 9350 RVA: 0x00067037 File Offset: 0x00065237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBoothStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x17000A91 RID: 2705
		// (get) Token: 0x06002487 RID: 9351 RVA: 0x00067040 File Offset: 0x00065240
		// (set) Token: 0x06002488 RID: 9352 RVA: 0x00067048 File Offset: 0x00065248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OHLACBFPACN
		{
			get
			{
				return this.oHLACBFPACN_;
			}
			set
			{
				this.oHLACBFPACN_ = value;
			}
		}

		// Token: 0x06002489 RID: 9353 RVA: 0x00067051 File Offset: 0x00065251
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CNEGKPBIFCA);
		}

		// Token: 0x0600248A RID: 9354 RVA: 0x00067060 File Offset: 0x00065260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CNEGKPBIFCA other)
		{
			return other != null && (other == this || (this.HJHAIHFEFEN == other.HJHAIHFEFEN && this.Status == other.Status && this.OHLACBFPACN == other.OHLACBFPACN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600248B RID: 9355 RVA: 0x000670BC File Offset: 0x000652BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HJHAIHFEFEN != 0U)
			{
				num ^= this.HJHAIHFEFEN.GetHashCode();
			}
			if (this.Status != RogueBoothStatus.RogueBoothNone)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this.OHLACBFPACN != 0U)
			{
				num ^= this.OHLACBFPACN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600248C RID: 9356 RVA: 0x00067133 File Offset: 0x00065333
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600248D RID: 9357 RVA: 0x0006713B File Offset: 0x0006533B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600248E RID: 9358 RVA: 0x00067144 File Offset: 0x00065344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Status != RogueBoothStatus.RogueBoothNone)
			{
				output.WriteRawTag(64);
				output.WriteEnum((int)this.Status);
			}
			if (this.HJHAIHFEFEN != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.HJHAIHFEFEN);
			}
			if (this.OHLACBFPACN != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.OHLACBFPACN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600248F RID: 9359 RVA: 0x000671BC File Offset: 0x000653BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HJHAIHFEFEN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.HJHAIHFEFEN);
			}
			if (this.Status != RogueBoothStatus.RogueBoothNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this.OHLACBFPACN != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OHLACBFPACN);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002490 RID: 9360 RVA: 0x0006722C File Offset: 0x0006542C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CNEGKPBIFCA other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HJHAIHFEFEN != 0U)
			{
				this.HJHAIHFEFEN = other.HJHAIHFEFEN;
			}
			if (other.Status != RogueBoothStatus.RogueBoothNone)
			{
				this.Status = other.Status;
			}
			if (other.OHLACBFPACN != 0U)
			{
				this.OHLACBFPACN = other.OHLACBFPACN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002491 RID: 9361 RVA: 0x00067290 File Offset: 0x00065490
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002492 RID: 9362 RVA: 0x0006729C File Offset: 0x0006549C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 88U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.OHLACBFPACN = input.ReadUInt32();
						}
					}
					else
					{
						this.HJHAIHFEFEN = input.ReadUInt32();
					}
				}
				else
				{
					this.Status = (RogueBoothStatus)input.ReadEnum();
				}
			}
		}

		// Token: 0x04000ED0 RID: 3792
		private static readonly MessageParser<CNEGKPBIFCA> _parser = new MessageParser<CNEGKPBIFCA>(() => new CNEGKPBIFCA());

		// Token: 0x04000ED1 RID: 3793
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000ED2 RID: 3794
		public const int HJHAIHFEFENFieldNumber = 11;

		// Token: 0x04000ED3 RID: 3795
		private uint hJHAIHFEFEN_;

		// Token: 0x04000ED4 RID: 3796
		public const int StatusFieldNumber = 8;

		// Token: 0x04000ED5 RID: 3797
		private RogueBoothStatus status_;

		// Token: 0x04000ED6 RID: 3798
		public const int OHLACBFPACNFieldNumber = 14;

		// Token: 0x04000ED7 RID: 3799
		private uint oHLACBFPACN_;
	}
}
